﻿namespace GoodAdmin.System;

[SugarTable(tableName: "Sys_Role_User")]
public class SysRoleUser
{
    [SugarColumn(ColumnDescription = "角色Id", IsNullable = false)]
    public long RoleId { get; set; }

    [SugarColumn(ColumnDescription = "用户Id", IsNullable = false)]
    public long UserId { get; set; }

    /// <summary>
    /// 额外信息
    /// </summary>
    [SugarColumn(ColumnDescription = "额外信息", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
    public string ExtraJson { get; set; }
}
